import com.bit.demo1.java.catplus;
import com.bit.demo2.java.dog;
import com.bit.demo1.java.cat;

class student{
    public String name;
    public int age;
    public static String cla;


    public static void d1(){
        System.out.println("这是一个静态成员方法");
        System.out.println(cla);

    }

    public student(String name) {
        this.name = name;
    }

    public student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public void show(String name, int age, String cla){
        this.name=name;
        this.age=age;
         student.cla=cla;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public static String getCla() {
        return cla;
    }

    public static void setCla(String cla) {
        student.cla = cla;
    }

    @Override
    public String toString() {
        return "student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
class a{
    a b=new a();
}
public class javademo1 {
    public static void main(String[] args) {
        /*cat cat1 =new cat("猫米",55,"男");
        System.out.println(cat1);
        catplus catplus=new catplus("李白",55,"男");
        System.out.println(catplus);
       dog dog1=new dog("坤过",55,"jg");
        System.out.println(dog1);
        student stu=new student("lh");
        stu.show("lph",66,"104ygy");
        //student.cla="104班";
        student.d1();*/

    }

    public static void main1(String[] args) {
        System.out.println("666");
    }
}
